<!doctype html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>Foundation for Sites Testing</title>
    <link href="../assets/css/foundation.css" rel="stylesheet" />
    <style>
      .test-drilldown-wrapper {
        width: 300px;
      }
      .is-drilldown-submenu {
        background: #eee;
      }
    </style>
  </head>
  <body>
    <div class="grid-container">
      <div class="grid-x grid-padding-x">
        <div class="cell medium-6">
          <p>Submenus should not be cut off at the bottom.</p>

          <div class="test-drilldown-wrapper">
            <ul class="vertical menu drilldown" data-drilldown>
              <li>
                <a href="#">Item</a>
                <ul class="vertical menu nested">
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item With the Longest Title You've Probably Ever Seen</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                </ul>
              </li>
              <li>
                <a href="#">Item</a>
                <ul class="vertical menu nested">
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item With the Longest Title You've Probably Ever Seen</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                </ul>
              </li>
              <li>
                <a href="#">Item</a>
                <ul class="vertical menu nested">
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item With the Longest Title You've Probably Ever Seen</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                  <li><a href="#">Item</a></li>
                </ul>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div>

    <script src="../assets/js/vendor.js"></script>
    <script src="../assets/js/foundation.js"></script>
    <script>
      $(document).foundation();
    </script>
  </body>
</html>
